#ifndef __LIGHT_SOURCE_OBJECT_HPP__
#define __LIGHT_SOURCE_OBJECT_HPP__

#include <string>
#include "../Mathematics/MVector2D.hpp"
#include "../PointLightsSampler.hpp"
#include "HDRImageObject.hpp"

class MLImportance;

class LightSourceObject : public PointLightsSampler, public HDRImageObject
{
public:
	LightSourceObject(std::string lightProbeName);
	~LightSourceObject() {}

	virtual unsigned int  getImportanceAt(MVector2D point);

private:
	void   generateImportanceMap();

	MLImportance*  m_pImportance;
};

#endif //__LIGHT_SOURCE_OBJECT_HPP__

//EOF
